home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Interactive Media Design Review 1999
/
Interactive Media Design Review 1999.iso
/
mac
/
files
/
ID99MENU.DIR
/
00012_Script_12
< prev
next >
Wrap
Text File
|
1999-04-29
|
917b
|
35 lines
global tickrate,oldticks,rollvolume,jurorspeaking,globalidvolume
on exitFrame
t = the ticks
tickrate = min(40,max(2,((t - oldticks)*3+tickrate)/2))
oldticks = t
if the shiftdown then
set the volume of sound 2 to rollvolume
else
set the volume of sound 2 to min(50,rollvolume)
end if
rollvolume = 0
if soundbusy(4) then
v4 = the volume of sound 4
if v4 <> globalidvolume then
set the volume of sound 4 to globalidvolume
end if
else
set jurorspeaking = 0
end if
if soundbusy(1) then
v1 = the volume of sound 1
v4 = the volume of sound 4
if soundbusy(4) then
if v1 <> (globalidvolume * .3) then
set the volume of sound 1 to (globalidvolume * .3)
end if
else
if v1 <> globalidvolume then
set the volume of sound 1 to globalidvolume
end if
end if
end if
go the frame
end